
// Boost Includes ==============================================================
#include <boost/python.hpp>
#include <boost/cstdint.hpp>

// Includes ====================================================================
#include <OpenSG/OSGGLUTWindow.h>
#include <OpenSG/OSGGLUTWindowBase.h>
#include <OsgPtrHelpers.h>

// Using =======================================================================
using namespace boost::python;

// Declarations ================================================================
namespace  {

BOOST_PYTHON_MEMBER_FUNCTION_OVERLOADS(osg_GLUTWindow_dump_overloads_0_2, dump, 0, 2)


}// namespace


// Module ======================================================================
void Export_src_pyste_gen_GLUTWindow()
{
    scope* osg_GLUTWindowBase_scope = new scope(
    class_< osg::GLUTWindowBase, bases< osg::Window > , boost::noncopyable >("GLUTWindowBase", no_init)
//        .def_readonly("IdFieldMask", &osg::GLUTWindowBase::IdFieldMask)
//        .def_readonly("MTInfluenceMask", &osg::GLUTWindowBase::MTInfluenceMask)
        .def("getClassType", &osg::GLUTWindowBase::getClassType, return_internal_reference< 1 >())
        .def("getClassTypeId", &osg::GLUTWindowBase::getClassTypeId)
        .def("getType", (osg::FieldContainerType& (osg::GLUTWindowBase::*)() )&osg::GLUTWindowBase::getType, return_internal_reference< 1 >())
        .def("getType", (const osg::FieldContainerType& (osg::GLUTWindowBase::*)() const)&osg::GLUTWindowBase::getType, return_internal_reference< 1 >())
        .def("getContainerSize", &osg::GLUTWindowBase::getContainerSize)
        //.def("getId", (osg::Int32& (osg::GLUTWindowBase::*)() )&osg::GLUTWindowBase::getId, return_value_policy< copy_const_reference >())
        .def("getId", (const osg::Int32& (osg::GLUTWindowBase::*)() const)&osg::GLUTWindowBase::getId, return_value_policy< copy_const_reference >())
        .def("setId", &osg::GLUTWindowBase::setId)
        .def("getBinSize", &osg::GLUTWindowBase::getBinSize)
        .def("copyToBin", &osg::GLUTWindowBase::copyToBin)
        .def("copyFromBin", &osg::GLUTWindowBase::copyFromBin)
        .def("create", &osg::GLUTWindowBase::create)
        .def("createEmpty", &osg::GLUTWindowBase::createEmpty)
        .def("shallowCopy", &osg::GLUTWindowBase::shallowCopy)
        .staticmethod("getClassType")
        .staticmethod("create")
        .staticmethod("createEmpty")
        .staticmethod("getClassTypeId")
    );

    scope().attr("NextFieldId") = (int)osg::GLUTWindowBase::NextFieldId;
    scope().attr("IdFieldId") = (int)osg::GLUTWindowBase::IdFieldId;

    delete osg_GLUTWindowBase_scope;

    class_< osg::GLUTWindow, bases< osg::GLUTWindowBase > , boost::noncopyable, osg::GLUTWindowRefPtr >("GLUTWindow", no_init)
        .def("changed", &osg::GLUTWindow::changed)
        .def("dump", &osg::GLUTWindow::dump, osg_GLUTWindow_dump_overloads_0_2())
        .def("init", &osg::GLUTWindow::init)
        .def("activate", &osg::GLUTWindow::activate)
        .def("deactivate", &osg::GLUTWindow::deactivate)
        .def("swap", &osg::GLUTWindow::swap)
    ;


    register_ptr_to_python<osg::GLUTWindowPtr>();
    implicitly_convertible<osg::GLUTWindowRefPtr, osg::GLUTWindowPtr>();
    implicitly_convertible<osg::GLUTWindowPtr, osg::WindowPtr>();

    def("RefPtr", &pyopensg::ToRefPtr<osg::GLUTWindowPtr>);
    def("FCPtr", &pyopensg::ToFcPtr<osg::GLUTWindowPtr>);
}

